<?php get_header(); ?>


 <!-- Content  2 column - Right Sidebar  -->
               <div class="content left">
                      
                      <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page Content Above')){?>
            <!--  <div class="allinone"> </div> all in one #end --> 
        <?php } else {?>  <?php }?>

<?php if ( have_posts() ) : ?>

<?php templ_set_breadcrumbs_navigation();?>
    <div class="content-title">
       <?php _e('Search Result','templatic');?> <span>/</span> <?php the_search_query(); ?>
        
        
        <?php templ_listing_pagination_form();?>
        
        <a href="javascript: void(0);" id="mode"<?php if ($_COOKIE['mode'] == 'grid') echo ' class="flip"'; ?>></a>
    </div>

    <?php get_template_part('loop'); ?>

<?php else : ?>

    <div class="content-title">
       <?php _e('Your search','templatic');?> <strong><?php the_search_query(); ?></strong> <?php _e('did not match any documents','templatic');?>
    </div>

    <div class="entry">
        <div class="single clear">
            <div class="post-content">
                <div class="search">
                    <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
                        <fieldset>
                            <input name="s" type="text" onfocus="if(this.value=='<?php _e('Search with some different keywords','templatic');?>') this.value='';" onblur="if(this.value=='') this.value='<?php _e('Search with some different keywords','templatic');?>';" value="<?php _e('Search with some different keywords','templatic');?>" />
                            <button type="submit"></button>
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>
    </div>

<?php endif; ?>

<?php get_template_part('pagination'); ?>


		<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page Content Below')){?>
            <!--  <div class="allinone"> </div> all in one #end --> 
        <?php } else {?>  <?php }?>
        
                    
                 </div> <!-- /Content -->
                            
       			<div class="sidebar right" >
                    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Right')){?> <?php } else {?>  <?php }?>
                </div>  <!-- sidebar #end -->
		 <!--Page 2 column - Right Sidebar #end  -->
  
	
 
<?php get_footer(); ?>